﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace webjies
{
    [DataContract]
    public class JieObj : JieRef
    {
        List<JieNode> _nodes;
        [DataMember]
        public List<JieNode> Nodes
        {
            get
            {
                if (_nodes == null)
                    _nodes = new List<JieNode>();
                return _nodes;
            }
            private set
            {
                _nodes = value;
            }
        }

        [DataMember]
        public string Tags
        {
            get;
            set;
        }
    }
}